package com.bingxue.edu.parent.model.resp;

import com.bingxue.edu.management.shop.model.entity.Refund;
import com.bingxue.edu.parent.model.entity.StudentClassInfo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.mybatisflex.annotation.RelationManyToOne;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author panbo
 * @since 2024/9/19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "退课订单信息")
@JsonIgnoreProperties(value = {
        "finAccountId",
        "outTradeNo",
        "remark"
})
public class StudentRefundResp extends Refund {

    @Schema(description = "班级详情信息")
    @RelationManyToOne(selfField = "classId", targetTable = "edu_class_info", targetField = "id")
    private StudentClassInfo classInfo;

}
